﻿// -----------------------------------------------------------------------
// <copyright file="IInOutService.cs" company="FCIS">
// You are welcome to do whatever you want with the code in this file
// </copyright>
// -----------------------------------------------------------------------

namespace ImagePackage.IO
{
    /// <summary>
    /// Methods to handle Opening and Saving images
    /// </summary>
    public interface IInOutService
    {
        /// <summary>
        /// Opens the specified image path.
        /// </summary>
        /// <param name="imagePath">The image path.</param>
        /// <returns>returns the image object</returns>
        Model.Image Open(string imagePath);

        /// <summary>
        /// Saves the specified image path.
        /// </summary>
        /// <param name="image">The image model</param>
        /// <param name="imagePath">The image path.</param>
        void Save(Model.Image image, string imagePath);
    }
}
